package com.zhenfan.pattern;

/**
 * 试卷
 *
 * @author wangmh
 * @create 2018-11-08 16:42
 **/
public class ExaminationPaper {

    public void print(AnswerTemplate answerTemplate) {
        System.out.println("-------------xxx学校xxx试卷-------------");
        System.out.println("姓名：" + answerTemplate.getCandidateName());
        System.out.println("1、这是哪?");
        System.out.println("\t答：" + answerTemplate.getFirstAnswer());
        System.out.println("2、我在哪?");
        System.out.println("\t答：" + answerTemplate.getSecondAnswer());
        System.out.println("3、我在干什么?");
        System.out.println("\t答：" + answerTemplate.getThirdAnswer());
        System.out.println("-----------------------------------------");
    }

}
